<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Projet Jetpack: Référence du fichier /home/p1006250/lif7-projet-jetpack/src/SdlJeu.h</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Projet Jetpack
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Généré par Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li><a href="dirs.html"><span>Répertoires</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_sdl_jeu_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Définitions de type</a> &#124;
<a href="#func-members">Fonctions</a>  </div>
  <div class="headertitle">
<div class="title">Référence du fichier SdlJeu.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;SDL/SDL.h&gt;</code><br/>
<code>#include &lt;SDL/SDL_ttf.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="_jeu_8h_source.html">Jeu.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="_sprite_8h_source.html">Sprite.h</a>&quot;</code><br/>
<code>#include &quot;assert.h&quot;</code><br/>
<code>#include &quot;<a class="el" href="_score_8h_source.html">Score.h</a>&quot;</code><br/>
<code>#include &lt;time.h&gt;</code><br/>
</div><div class="textblock"><div class="dynheader">
Graphe des dépendances par inclusion de SdlJeu.h:</div>
<div class="dyncontent">
<div class="center"><img src="_sdl_jeu_8h__incl.png" border="0" usemap="#_2home_2p1006250_2lif7-projet-jetpack_2src_2_sdl_jeu_8h" alt=""/></div>
<map name="_2home_2p1006250_2lif7-projet-jetpack_2src_2_sdl_jeu_8h" id="_2home_2p1006250_2lif7-projet-jetpack_2src_2_sdl_jeu_8h">
</map>
</div>
</div><div class="textblock"><div class="dynheader">
Ce graphe montre quels fichiers incluent directement ou indirectement ce fichier :</div>
<div class="dyncontent">
<div class="center"><img src="_sdl_jeu_8h__dep__incl.png" border="0" usemap="#_2home_2p1006250_2lif7-projet-jetpack_2src_2_sdl_jeu_8hdep" alt=""/></div>
<map name="_2home_2p1006250_2lif7-projet-jetpack_2src_2_sdl_jeu_8hdep" id="_2home_2p1006250_2lif7-projet-jetpack_2src_2_sdl_jeu_8hdep">
</map>
</div>
</div>
<p><a href="_sdl_jeu_8h_source.html">Aller au code source de ce fichier.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structs_input.html">sInput</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_tileset_struct.html">TilesetStruct</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsdl_jeu.html">sdlJeu</a></td></tr>
<tr><td colspan="2"><h2><a name="define-members"></a>
Macros</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sdl_jeu_8h.html#a6068a247ff9ece1b0a9773c58144906c">LARGEUR_FENETRE</a>&#160;&#160;&#160;1800</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sdl_jeu_8h.html#afd1a1e285af564b849b17498e82e1a41">HAUTEUR_FENETRE</a>&#160;&#160;&#160;415</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sdl_jeu_8h.html#a8a6befd630ea1c2ab260266f7466540c">CACHE_SIZE</a>&#160;&#160;&#160;5000</td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Définitions de type</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structs_input.html">sInput</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sdl_jeu_8h.html#af2341b18d3846190d5e052dd40ef72af">Input</a></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Fonctions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sdl_jeu_8h.html#a907831170dedec3a0af4e4b1e178b854">updateEvents</a> (<a class="el" href="struct_input.html">Input</a> *in)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><b> Brief Description </b> Analyse l'état des events. <br/>
  <a href="#a907831170dedec3a0af4e4b1e178b854"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">SDL_Surface *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sdl_jeu_8h.html#a152cc45e4b709a2ea3858f7e6f12cdce">LoadImage32</a> (SDL_Surface *tileset, const char *fichier_image)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><b> Brief Description </b> Charge une image. <br/>
  <a href="#a152cc45e4b709a2ea3858f7e6f12cdce"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sdl_jeu_8h.html#ac603fcfc9773438938b8913ea38ac0ce">initEvents</a> (<a class="el" href="struct_input.html">Input</a> *in)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><b> Brief Description </b> Initialise in. <br/>
  <a href="#ac603fcfc9773438938b8913ea38ac0ce"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sdl_jeu_8h.html#a2ef643359ceb7c52647ae6573a6e574f">sdljeuBoucle</a> (<a class="el" href="structsdl_jeu.html">sdlJeu</a> *Sj)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><b> Brief Description </b> Fait tourner le jeu sous SDL. <br/>
  <a href="#a2ef643359ceb7c52647ae6573a6e574f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sdl_jeu_8h.html#a5e89604c62c942df8c827ac35f936fdf">sdlInit</a> (<a class="el" href="structsdl_jeu.html">sdlJeu</a> *pSj)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><b> Brief Description </b> Initialise le SDL. <br/>
  <a href="#a5e89604c62c942df8c827ac35f936fdf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sdl_jeu_8h.html#a1d05d7d58fdff72e97f5b8e70b10299d">sdlLibere</a> (<a class="el" href="structsdl_jeu.html">sdlJeu</a> *pSj)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><b> Brief Description </b> Libère SDL. <br/>
  <a href="#a1d05d7d58fdff72e97f5b8e70b10299d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sdl_jeu_8h.html#a02a9d84a4c2120bbb087f7ce7d3550cb">AfficherScoreSDL</a> (int Sscore, SDL_Surface *screen, TTF_Font *Snorlax, SDL_Color Noir)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><b> Brief Description </b> Affiche le score. <br/>
  <a href="#a02a9d84a4c2120bbb087f7ce7d3550cb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sdl_jeu_8h.html#af207f90fc1d6368579d6f71377c41843">chargerTilesetSDL</a> (FILE *F, <a class="el" href="_personnage_8h.html#a8e5086042a2f903e0e0b8c4185482cc9">Terrain</a> *pTer, <a class="el" href="struct_tileset_struct.html">TilesetStruct</a> *pTile)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><b> Brief Description </b> Charge les tileset. <br/>
  <a href="#af207f90fc1d6368579d6f71377c41843"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sdl_jeu_8h.html#a31fa5a48dea220386eb12a751b881e62">AfficherSprite</a> (<a class="el" href="struct_sprite.html">Sprite</a> *perso, SDL_Surface *screen)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><b> Brief Description </b> Affiche un sprite. <br/>
  <a href="#a31fa5a48dea220386eb12a751b881e62"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sdl_jeu_8h.html#a79155188b3432437d7b7e8853074a60e">AfficherMapSDL</a> (<a class="el" href="_personnage_8h.html#a8e5086042a2f903e0e0b8c4185482cc9">Terrain</a> *pTer, SDL_Surface *screen, <a class="el" href="struct_sprite.html">Sprite</a> *pSprite, <a class="el" href="struct_tileset_struct.html">TilesetStruct</a> *pTile)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><b> Brief Description </b> Affiche la carte. <br/>
   <a href="#a79155188b3432437d7b7e8853074a60e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sdl_jeu_8h.html#a92ebd83590fab5f62f26f371b60e1b14">tilesetInit</a> (const char *level, <a class="el" href="_personnage_8h.html#a8e5086042a2f903e0e0b8c4185482cc9">Terrain</a> *pTer, <a class="el" href="struct_tileset_struct.html">TilesetStruct</a> *pTile)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><b> Brief Description </b> Initialise les tilesets. <br/>
   <a href="#a92ebd83590fab5f62f26f371b60e1b14"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sdl_jeu_8h.html#a6f766d4620f74ae8bcdac5f887092695">MenuFinJeu</a> (SDL_Surface *ecran, TTF_Font *Mario, TTF_Font *Snorlax, SDL_Color Noir, SDL_Color Rouge)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><b> Brief Description </b> Affiche le menu de fin de partie. <br/>
   <a href="#a6f766d4620f74ae8bcdac5f887092695"></a><br/></td></tr>
</table>
<hr/><h2>Documentation des macros</h2>
<a class="anchor" id="a8a6befd630ea1c2ab260266f7466540c"></a><!-- doxytag: member="SdlJeu.h::CACHE_SIZE" ref="a8a6befd630ea1c2ab260266f7466540c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="_terrain_8h.html#a8a6befd630ea1c2ab260266f7466540c">CACHE_SIZE</a>&#160;&#160;&#160;5000</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Définition à la ligne <a class="el" href="_sdl_jeu_8h_source.html#l00014">14</a> du fichier <a class="el" href="_sdl_jeu_8h_source.html">SdlJeu.h</a>.</p>

<p>Référencé par <a class="el" href="_terrain_8c_source.html#l00059">chargerTerrain()</a>, <a class="el" href="_terrain_8c_source.html#l00014">chargerTileset()</a>, <a class="el" href="_sdl_jeu_8c_source.html#l00082">chargerTilesetSDL()</a>, et <a class="el" href="_sdl_jeu_8c_source.html#l00004">tilesetInit()</a>.</p>

</div>
</div>
<a class="anchor" id="afd1a1e285af564b849b17498e82e1a41"></a><!-- doxytag: member="SdlJeu.h::HAUTEUR_FENETRE" ref="afd1a1e285af564b849b17498e82e1a41" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="_terrain_8h.html#afd1a1e285af564b849b17498e82e1a41">HAUTEUR_FENETRE</a>&#160;&#160;&#160;415</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Définition à la ligne <a class="el" href="_sdl_jeu_8h_source.html#l00013">13</a> du fichier <a class="el" href="_sdl_jeu_8h_source.html">SdlJeu.h</a>.</p>

<p>Référencé par <a class="el" href="_sdl_jeu_8c_source.html#l00138">sdlInit()</a>, <a class="el" href="_sdl_jeu_8c_source.html#l00153">sdljeuBoucle()</a>, et <a class="el" href="_terrain_8c_source.html#l00005">terInit()</a>.</p>

</div>
</div>
<a class="anchor" id="a6068a247ff9ece1b0a9773c58144906c"></a><!-- doxytag: member="SdlJeu.h::LARGEUR_FENETRE" ref="a6068a247ff9ece1b0a9773c58144906c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="_terrain_8h.html#a6068a247ff9ece1b0a9773c58144906c">LARGEUR_FENETRE</a>&#160;&#160;&#160;1800</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Définition à la ligne <a class="el" href="_sdl_jeu_8h_source.html#l00012">12</a> du fichier <a class="el" href="_sdl_jeu_8h_source.html">SdlJeu.h</a>.</p>

<p>Référencé par <a class="el" href="_sdl_jeu_8c_source.html#l00138">sdlInit()</a>, <a class="el" href="_sdl_jeu_8c_source.html#l00153">sdljeuBoucle()</a>, et <a class="el" href="_terrain_8c_source.html#l00005">terInit()</a>.</p>

</div>
</div>
<hr/><h2>Documentation des définitions de type</h2>
<a class="anchor" id="af2341b18d3846190d5e052dd40ef72af"></a><!-- doxytag: member="SdlJeu.h::Input" ref="af2341b18d3846190d5e052dd40ef72af" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structs_input.html">sInput</a> <a class="el" href="struct_input.html">Input</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Définition à la ligne <a class="el" href="_sdl_jeu_8h_source.html#l00025">25</a> du fichier <a class="el" href="_sdl_jeu_8h_source.html">SdlJeu.h</a>.</p>

</div>
</div>
<hr/><h2>Documentation des fonctions</h2>
<a class="anchor" id="a79155188b3432437d7b7e8853074a60e"></a><!-- doxytag: member="SdlJeu.h::AfficherMapSDL" ref="a79155188b3432437d7b7e8853074a60e" args="(Terrain *pTer, SDL_Surface *screen, Sprite *pSprite, TilesetStruct *pTile)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="_sdl_jeu_8h.html#a79155188b3432437d7b7e8853074a60e">AfficherMapSDL</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#a8e5086042a2f903e0e0b8c4185482cc9">Terrain</a> *&#160;</td>
          <td class="paramname"><em>pTer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>screen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_sprite.html">Sprite</a> *&#160;</td>
          <td class="paramname"><em>pSprite</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_tileset_struct.html">TilesetStruct</a> *&#160;</td>
          <td class="paramname"><em>pTile</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><b> Brief Description </b> Affiche la carte. <br/>
  </p>
<p><b> Description </b> Permet d'afficher la carte. <br/>
 </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">Terrain</td><td>Pointeur sur pTer. <br/>
 </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">SDL_Surface</td><td>Pointeur sur screen. <br/>
 </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname"><a class="el" href="struct_sprite.html">Sprite</a></td><td>Pointeur sur pSprite. <br/>
 </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname"><a class="el" href="struct_tileset_struct.html">TilesetStruct</a></td><td>Pointeur sur pTile. <br/>
 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Retourne un entier. <br/>
 </dd></dl>

<p>Définition à la ligne <a class="el" href="_sdl_jeu_8c_source.html#l00054">54</a> du fichier <a class="el" href="_sdl_jeu_8c_source.html">SdlJeu.c</a>.</p>

<p>Références <a class="el" href="_terrain_8h_source.html#l00029">sTerrain::hauteur_fenetre</a>, <a class="el" href="_terrain_8h_source.html#l00030">sTerrain::HAUTEUR_TILE</a>, <a class="el" href="_terrain_8h_source.html#l00029">sTerrain::largeur_fenetre</a>, <a class="el" href="_terrain_8h_source.html#l00030">sTerrain::LARGEUR_TILE</a>, <a class="el" href="_terrain_8h_source.html#l00024">sTerrain::nbtiles_hauteur_monde</a>, <a class="el" href="_terrain_8h_source.html#l00024">sTerrain::nbtiles_largeur_monde</a>, <a class="el" href="_sdl_jeu_8h_source.html#l00035">TilesetStruct::props</a>, <a class="el" href="_terrain_8h_source.html#l00026">sTerrain::schema</a>, <a class="el" href="_sdl_jeu_8h_source.html#l00034">TilesetStruct::tileset</a>, <a class="el" href="_sprite_8c_source.html#l00016">UpdateScroll()</a>, et <a class="el" href="_terrain_8h_source.html#l00025">sTerrain::xscroll</a>.</p>

<p>Référencé par <a class="el" href="_sdl_jeu_8c_source.html#l00153">sdljeuBoucle()</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_sdl_jeu_8h_a79155188b3432437d7b7e8853074a60e_cgraph.png" border="0" usemap="#_sdl_jeu_8h_a79155188b3432437d7b7e8853074a60e_cgraph" alt=""/></div>
<map name="_sdl_jeu_8h_a79155188b3432437d7b7e8853074a60e_cgraph" id="_sdl_jeu_8h_a79155188b3432437d7b7e8853074a60e_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a02a9d84a4c2120bbb087f7ce7d3550cb"></a><!-- doxytag: member="SdlJeu.h::AfficherScoreSDL" ref="a02a9d84a4c2120bbb087f7ce7d3550cb" args="(int Sscore, SDL_Surface *screen, TTF_Font *Snorlax, SDL_Color Noir)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_sdl_jeu_8h.html#a02a9d84a4c2120bbb087f7ce7d3550cb">AfficherScoreSDL</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Sscore</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>screen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TTF_Font *&#160;</td>
          <td class="paramname"><em>Snorlax</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Color&#160;</td>
          <td class="paramname"><em>Noir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><b> Brief Description </b> Affiche le score. <br/>
 </p>
<p><b> Description </b> Affiche le score durant la partie. <br/>
 </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">Entier</td><td>Sscore. <br/>
 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">SDL_Color</td><td>Couleur. <br/>
 </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">SDL_Surface</td><td>Pointeur sur screen. <br/>
 </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">TTF_Font</td><td>Pointeur sur Snorlax. <br/>
 </td></tr>
  </table>
  </dd>
</dl>

<p>Définition à la ligne <a class="el" href="_sdl_jeu_8c_source.html#l00217">217</a> du fichier <a class="el" href="_sdl_jeu_8c_source.html">SdlJeu.c</a>.</p>

<p>Références <a class="el" href="_menu_8c_source.html#l00076">score()</a>.</p>

<p>Référencé par <a class="el" href="_sdl_jeu_8c_source.html#l00153">sdljeuBoucle()</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_sdl_jeu_8h_a02a9d84a4c2120bbb087f7ce7d3550cb_cgraph.png" border="0" usemap="#_sdl_jeu_8h_a02a9d84a4c2120bbb087f7ce7d3550cb_cgraph" alt=""/></div>
<map name="_sdl_jeu_8h_a02a9d84a4c2120bbb087f7ce7d3550cb_cgraph" id="_sdl_jeu_8h_a02a9d84a4c2120bbb087f7ce7d3550cb_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a31fa5a48dea220386eb12a751b881e62"></a><!-- doxytag: member="SdlJeu.h::AfficherSprite" ref="a31fa5a48dea220386eb12a751b881e62" args="(Sprite *perso, SDL_Surface *screen)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="_sdl_jeu_8h.html#a31fa5a48dea220386eb12a751b881e62">AfficherSprite</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_sprite.html">Sprite</a> *&#160;</td>
          <td class="paramname"><em>perso</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>screen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><b> Brief Description </b> Affiche un sprite. <br/>
 </p>
<p><b> Description </b> Récupère les paramètres de fenêtrage, et affiche le sprite perso. <br/>
 </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname"><a class="el" href="struct_sprite.html">Sprite</a></td><td>Pointeur sur perso. <br/>
 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">SDL_Surface</td><td>Pointeur sur screen. <br/>
 </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>Retourne un entier. <br/>
 </dd></dl>

<p>Définition à la ligne <a class="el" href="_sdl_jeu_8c_source.html#l00038">38</a> du fichier <a class="el" href="_sdl_jeu_8c_source.html">SdlJeu.c</a>.</p>

<p>Références <a class="el" href="_sdl_jeu_8c_source.html#l00024">LoadImage32()</a>.</p>

<p>Référencé par <a class="el" href="_sdl_jeu_8c_source.html#l00153">sdljeuBoucle()</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_sdl_jeu_8h_a31fa5a48dea220386eb12a751b881e62_cgraph.png" border="0" usemap="#_sdl_jeu_8h_a31fa5a48dea220386eb12a751b881e62_cgraph" alt=""/></div>
<map name="_sdl_jeu_8h_a31fa5a48dea220386eb12a751b881e62_cgraph" id="_sdl_jeu_8h_a31fa5a48dea220386eb12a751b881e62_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af207f90fc1d6368579d6f71377c41843"></a><!-- doxytag: member="SdlJeu.h::chargerTilesetSDL" ref="af207f90fc1d6368579d6f71377c41843" args="(FILE *F, Terrain *pTer, TilesetStruct *pTile)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_sdl_jeu_8h.html#af207f90fc1d6368579d6f71377c41843">chargerTilesetSDL</a> </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>F</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#a8e5086042a2f903e0e0b8c4185482cc9">Terrain</a> *&#160;</td>
          <td class="paramname"><em>pTer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_tileset_struct.html">TilesetStruct</a> *&#160;</td>
          <td class="paramname"><em>pTile</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><b> Brief Description </b> Charge les tileset. <br/>
 </p>
<p><b> Description </b> Charge en mémoire les tilesets des fichiers textes et test s'ils sont pleins. <br/>
 </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">FILE</td><td>Pointeur sur F. <br/>
 </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">Terrain</td><td>Pointeur sur pTer. <br/>
 </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname"><a class="el" href="struct_tileset_struct.html">TilesetStruct</a></td><td>Pointeur sur pTile. <br/>
 </td></tr>
  </table>
  </dd>
</dl>

<p>Définition à la ligne <a class="el" href="_sdl_jeu_8c_source.html#l00082">82</a> du fichier <a class="el" href="_sdl_jeu_8c_source.html">SdlJeu.c</a>.</p>

<p>Références <a class="el" href="_sdl_jeu_8h_source.html#l00014">CACHE_SIZE</a>, <a class="el" href="_terrain_8h_source.html#l00030">sTerrain::HAUTEUR_TILE</a>, <a class="el" href="_terrain_8h_source.html#l00030">sTerrain::LARGEUR_TILE</a>, <a class="el" href="_sdl_jeu_8c_source.html#l00024">LoadImage32()</a>, <a class="el" href="_terrain_8h_source.html#l00028">sTerrain::nbtilesX</a>, <a class="el" href="_terrain_8h_source.html#l00028">sTerrain::nbtilesY</a>, <a class="el" href="_sdl_jeu_8h_source.html#l00035">TilesetStruct::props</a>, <a class="el" href="_terrain_8h_source.html#l00027">sTerrain::tileplein</a>, et <a class="el" href="_sdl_jeu_8h_source.html#l00034">TilesetStruct::tileset</a>.</p>

<p>Référencé par <a class="el" href="_sdl_jeu_8c_source.html#l00004">tilesetInit()</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_sdl_jeu_8h_af207f90fc1d6368579d6f71377c41843_cgraph.png" border="0" usemap="#_sdl_jeu_8h_af207f90fc1d6368579d6f71377c41843_cgraph" alt=""/></div>
<map name="_sdl_jeu_8h_af207f90fc1d6368579d6f71377c41843_cgraph" id="_sdl_jeu_8h_af207f90fc1d6368579d6f71377c41843_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ac603fcfc9773438938b8913ea38ac0ce"></a><!-- doxytag: member="SdlJeu.h::initEvents" ref="ac603fcfc9773438938b8913ea38ac0ce" args="(Input *in)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_sdl_jeu_8h.html#ac603fcfc9773438938b8913ea38ac0ce">initEvents</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_input.html">Input</a> *&#160;</td>
          <td class="paramname"><em>in</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><b> Brief Description </b> Initialise in. <br/>
 </p>
<p><b> Description </b> initEvents permet de remplir une zone mémoire avec le caractère "0". <br/>
 </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname"><a class="el" href="struct_input.html">Input</a></td><td>Pointeur sur in. <br/>
 </td></tr>
  </table>
  </dd>
</dl>

<p>Définition à la ligne <a class="el" href="_sdl_jeu_8c_source.html#l00131">131</a> du fichier <a class="el" href="_sdl_jeu_8c_source.html">SdlJeu.c</a>.</p>

<p>Référencé par <a class="el" href="_sdl_jeu_8c_source.html#l00138">sdlInit()</a>.</p>

</div>
</div>
<a class="anchor" id="a152cc45e4b709a2ea3858f7e6f12cdce"></a><!-- doxytag: member="SdlJeu.h::LoadImage32" ref="a152cc45e4b709a2ea3858f7e6f12cdce" args="(SDL_Surface *tileset, const char *fichier_image)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SDL_Surface* <a class="el" href="_sdl_jeu_8h.html#a152cc45e4b709a2ea3858f7e6f12cdce">LoadImage32</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>tileset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fichier_image</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><b> Brief Description </b> Charge une image. <br/>
 </p>
<p><b> Description </b> Permet de charger une image au format BMP dans une SDL_Surface.. <br/>
 </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">SDL_Surface</td><td>Pointeur sur tileset. <br/>
 </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">char</td><td>Pointeur sur fichier_image. <br/>
 </td></tr>
  </table>
  </dd>
</dl>

<p>Définition à la ligne <a class="el" href="_sdl_jeu_8c_source.html#l00024">24</a> du fichier <a class="el" href="_sdl_jeu_8c_source.html">SdlJeu.c</a>.</p>

<p>Référencé par <a class="el" href="_sdl_jeu_8c_source.html#l00038">AfficherSprite()</a>, et <a class="el" href="_sdl_jeu_8c_source.html#l00082">chargerTilesetSDL()</a>.</p>

</div>
</div>
<a class="anchor" id="a6f766d4620f74ae8bcdac5f887092695"></a><!-- doxytag: member="SdlJeu.h::MenuFinJeu" ref="a6f766d4620f74ae8bcdac5f887092695" args="(SDL_Surface *ecran, TTF_Font *Mario, TTF_Font *Snorlax, SDL_Color Noir, SDL_Color Rouge)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_sdl_jeu_8h.html#a6f766d4620f74ae8bcdac5f887092695">MenuFinJeu</a> </td>
          <td>(</td>
          <td class="paramtype">SDL_Surface *&#160;</td>
          <td class="paramname"><em>ecran</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TTF_Font *&#160;</td>
          <td class="paramname"><em>Mario</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TTF_Font *&#160;</td>
          <td class="paramname"><em>Snorlax</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Color&#160;</td>
          <td class="paramname"><em>Noir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Color&#160;</td>
          <td class="paramname"><em>Rouge</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><b> Brief Description </b> Affiche le menu de fin de partie. <br/>
  </p>
<p><b> Description </b> Permet d'afficher le menu de fin de partie pour revenir au menu principal. <br/>
 </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">SDL_Surface</td><td>Pointeur sur ecran. <br/>
 </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">TTF_Font</td><td>Pointeur sur Mario. <br/>
 </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">TTF_Font</td><td>Pointeur sur Snorlax. <br/>
 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">SDL_Color</td><td>Couleur Noir. <br/>
 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">SDL_Color</td><td>Couleur Rouge. <br/>
 </td></tr>
  </table>
  </dd>
</dl>

<p>Définition à la ligne <a class="el" href="_sdl_jeu_8c_source.html#l00239">239</a> du fichier <a class="el" href="_sdl_jeu_8c_source.html">SdlJeu.c</a>.</p>

<p>Références <a class="el" href="main_8c_source.html#l00007">main()</a>.</p>

<p>Référencé par <a class="el" href="_sdl_jeu_8c_source.html#l00153">sdljeuBoucle()</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_sdl_jeu_8h_a6f766d4620f74ae8bcdac5f887092695_cgraph.png" border="0" usemap="#_sdl_jeu_8h_a6f766d4620f74ae8bcdac5f887092695_cgraph" alt=""/></div>
<map name="_sdl_jeu_8h_a6f766d4620f74ae8bcdac5f887092695_cgraph" id="_sdl_jeu_8h_a6f766d4620f74ae8bcdac5f887092695_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a5e89604c62c942df8c827ac35f936fdf"></a><!-- doxytag: member="SdlJeu.h::sdlInit" ref="a5e89604c62c942df8c827ac35f936fdf" args="(sdlJeu *pSj)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_sdl_jeu_8h.html#a5e89604c62c942df8c827ac35f936fdf">sdlInit</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsdl_jeu.html">sdlJeu</a> *&#160;</td>
          <td class="paramname"><em>pSj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><b> Brief Description </b> Initialise le SDL. <br/>
 </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname"><a class="el" href="structsdl_jeu.html">sdlJeu</a></td><td>Pointeur sur pSj. <br/>
 </td></tr>
  </table>
  </dd>
</dl>

<p>Définition à la ligne <a class="el" href="_sdl_jeu_8c_source.html#l00138">138</a> du fichier <a class="el" href="_sdl_jeu_8c_source.html">SdlJeu.c</a>.</p>

<p>Références <a class="el" href="_terrain_8c_source.html#l00086">FocusScrollBox()</a>, <a class="el" href="_terrain_8h_source.html#l00032">sTerrain::focusSprite</a>, <a class="el" href="_sdl_jeu_8h_source.html#l00013">HAUTEUR_FENETRE</a>, <a class="el" href="_sdl_jeu_8h_source.html#l00048">sdlJeu::in</a>, <a class="el" href="_sdl_jeu_8c_source.html#l00131">initEvents()</a>, <a class="el" href="_sprite_8c_source.html#l00004">InitialiserSprite()</a>, <a class="el" href="_sdl_jeu_8h_source.html#l00045">sdlJeu::Jeu</a>, <a class="el" href="_jeu_8c_source.html#l00004">jeuInit()</a>, <a class="el" href="_sdl_jeu_8h_source.html#l00012">LARGEUR_FENETRE</a>, <a class="el" href="_sdl_jeu_8h_source.html#l00046">sdlJeu::perso</a>, <a class="el" href="_jeu_8h_source.html#l00021">Jeu::Score</a>, <a class="el" href="_score_8c_source.html#l00003">scoreInit()</a>, <a class="el" href="_sdl_jeu_8h_source.html#l00047">sdlJeu::screen</a>, <a class="el" href="_sdl_jeu_8h_source.html#l00044">sdlJeu::sTile</a>, <a class="el" href="_jeu_8h_source.html#l00018">Jeu::Ter</a>, <a class="el" href="_sdl_jeu_8c_source.html#l00004">tilesetInit()</a>, et <a class="el" href="_jeu_8h_source.html#l00022">Jeu::vx</a>.</p>

<p>Référencé par <a class="el" href="_menu_8c_source.html#l00068">SDL()</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_sdl_jeu_8h_a5e89604c62c942df8c827ac35f936fdf_cgraph.png" border="0" usemap="#_sdl_jeu_8h_a5e89604c62c942df8c827ac35f936fdf_cgraph" alt=""/></div>
<map name="_sdl_jeu_8h_a5e89604c62c942df8c827ac35f936fdf_cgraph" id="_sdl_jeu_8h_a5e89604c62c942df8c827ac35f936fdf_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a2ef643359ceb7c52647ae6573a6e574f"></a><!-- doxytag: member="SdlJeu.h::sdljeuBoucle" ref="a2ef643359ceb7c52647ae6573a6e574f" args="(sdlJeu *Sj)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_sdl_jeu_8h.html#a2ef643359ceb7c52647ae6573a6e574f">sdljeuBoucle</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsdl_jeu.html">sdlJeu</a> *&#160;</td>
          <td class="paramname"><em>Sj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><b> Brief Description </b> Fait tourner le jeu sous SDL. <br/>
 </p>
<p><b> Description </b> Boucle qui permet de faire évoluer le jeu sous SDL. <br/>
 </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname"><a class="el" href="structsdl_jeu.html">sdlJeu</a></td><td>Pointeur sur Sj. <br/>
 </td></tr>
  </table>
  </dd>
</dl>

<p>Définition à la ligne <a class="el" href="_sdl_jeu_8c_source.html#l00153">153</a> du fichier <a class="el" href="_sdl_jeu_8c_source.html">SdlJeu.c</a>.</p>

<p>Références <a class="el" href="_sdl_jeu_8c_source.html#l00054">AfficherMapSDL()</a>, <a class="el" href="_sdl_jeu_8c_source.html#l00217">AfficherScoreSDL()</a>, <a class="el" href="_sdl_jeu_8c_source.html#l00038">AfficherSprite()</a>, <a class="el" href="_terrain_8c_source.html#l00059">chargerTerrain()</a>, <a class="el" href="_terrain_8c_source.html#l00143">CopieProchCarte()</a>, <a class="el" href="_sprite_8c_source.html#l00090">DeplaceSprite()</a>, <a class="el" href="_sdl_jeu_8h_source.html#l00013">HAUTEUR_FENETRE</a>, <a class="el" href="_terrain_8h_source.html#l00030">sTerrain::HAUTEUR_TILE</a>, <a class="el" href="_sdl_jeu_8h_source.html#l00048">sdlJeu::in</a>, <a class="el" href="_sdl_jeu_8h_source.html#l00045">sdlJeu::Jeu</a>, <a class="el" href="_jeu_8c_source.html#l00055">jeuEvolue()</a>, <a class="el" href="_sdl_jeu_8h_source.html#l00012">LARGEUR_FENETRE</a>, <a class="el" href="_terrain_8c_source.html#l00160">libereTerrain()</a>, <a class="el" href="_sdl_jeu_8c_source.html#l00239">MenuFinJeu()</a>, <a class="el" href="_terrain_8h_source.html#l00024">sTerrain::nbtiles_hauteur_monde</a>, <a class="el" href="_sprite_8c_source.html#l00103">persMort()</a>, <a class="el" href="_sdl_jeu_8h_source.html#l00046">sdlJeu::perso</a>, <a class="el" href="_sdl_jeu_8h_source.html#l00047">sdlJeu::screen</a>, <a class="el" href="_terrain_8c_source.html#l00124">selectTerrain()</a>, <a class="el" href="_sdl_jeu_8h_source.html#l00044">sdlJeu::sTile</a>, <a class="el" href="_jeu_8h_source.html#l00018">Jeu::Ter</a>, <a class="el" href="_jeu_8h_source.html#l00019">Jeu::Tersuiv</a>, <a class="el" href="_sdl_jeu_8c_source.html#l00004">tilesetInit()</a>, <a class="el" href="_sdl_jeu_8c_source.html#l00111">updateEvents()</a>, <a class="el" href="_jeu_8h_source.html#l00022">Jeu::vx</a>, <a class="el" href="_jeu_8h_source.html#l00022">Jeu::vy</a>, et <a class="el" href="_terrain_8h_source.html#l00025">sTerrain::xscroll</a>.</p>

<p>Référencé par <a class="el" href="_menu_8c_source.html#l00068">SDL()</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_sdl_jeu_8h_a2ef643359ceb7c52647ae6573a6e574f_cgraph.png" border="0" usemap="#_sdl_jeu_8h_a2ef643359ceb7c52647ae6573a6e574f_cgraph" alt=""/></div>
<map name="_sdl_jeu_8h_a2ef643359ceb7c52647ae6573a6e574f_cgraph" id="_sdl_jeu_8h_a2ef643359ceb7c52647ae6573a6e574f_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a1d05d7d58fdff72e97f5b8e70b10299d"></a><!-- doxytag: member="SdlJeu.h::sdlLibere" ref="a1d05d7d58fdff72e97f5b8e70b10299d" args="(sdlJeu *pSj)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_sdl_jeu_8h.html#a1d05d7d58fdff72e97f5b8e70b10299d">sdlLibere</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structsdl_jeu.html">sdlJeu</a> *&#160;</td>
          <td class="paramname"><em>pSj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><b> Brief Description </b> Libère SDL. <br/>
 </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname"><a class="el" href="structsdl_jeu.html">sdlJeu</a></td><td>Pointeur sur pSj. <br/>
 </td></tr>
  </table>
  </dd>
</dl>

<p>Définition à la ligne <a class="el" href="_sdl_jeu_8c_source.html#l00232">232</a> du fichier <a class="el" href="_sdl_jeu_8c_source.html">SdlJeu.c</a>.</p>

<p>Références <a class="el" href="_sdl_jeu_8h_source.html#l00045">sdlJeu::Jeu</a>, <a class="el" href="_jeu_8h_source.html#l00021">Jeu::Score</a>, <a class="el" href="_sdl_jeu_8h_source.html#l00047">sdlJeu::screen</a>, et <a class="el" href="_score_8c_source.html#l00073">verifScore()</a>.</p>

<p>Référencé par <a class="el" href="_menu_8c_source.html#l00068">SDL()</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_sdl_jeu_8h_a1d05d7d58fdff72e97f5b8e70b10299d_cgraph.png" border="0" usemap="#_sdl_jeu_8h_a1d05d7d58fdff72e97f5b8e70b10299d_cgraph" alt=""/></div>
<map name="_sdl_jeu_8h_a1d05d7d58fdff72e97f5b8e70b10299d_cgraph" id="_sdl_jeu_8h_a1d05d7d58fdff72e97f5b8e70b10299d_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a92ebd83590fab5f62f26f371b60e1b14"></a><!-- doxytag: member="SdlJeu.h::tilesetInit" ref="a92ebd83590fab5f62f26f371b60e1b14" args="(const char *level, Terrain *pTer, TilesetStruct *pTile)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_sdl_jeu_8h.html#a92ebd83590fab5f62f26f371b60e1b14">tilesetInit</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>level</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_personnage_8h.html#a8e5086042a2f903e0e0b8c4185482cc9">Terrain</a> *&#160;</td>
          <td class="paramname"><em>pTer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_tileset_struct.html">TilesetStruct</a> *&#160;</td>
          <td class="paramname"><em>pTile</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><b> Brief Description </b> Initialise les tilesets. <br/>
  </p>
<p><b> Description </b> Initialise le fichier texte et lance chargerTilesetSDL. <br/>
 </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">Terrain</td><td>Pointeur sur pTer. <br/>
 </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname"><a class="el" href="struct_tileset_struct.html">TilesetStruct</a></td><td>Pointeur sur pTile. <br/>
 </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">char</td><td>Pointeur sur level. <br/>
 </td></tr>
  </table>
  </dd>
</dl>

<p>Définition à la ligne <a class="el" href="_sdl_jeu_8c_source.html#l00004">4</a> du fichier <a class="el" href="_sdl_jeu_8c_source.html">SdlJeu.c</a>.</p>

<p>Références <a class="el" href="_sdl_jeu_8h_source.html#l00014">CACHE_SIZE</a>, et <a class="el" href="_sdl_jeu_8c_source.html#l00082">chargerTilesetSDL()</a>.</p>

<p>Référencé par <a class="el" href="_sdl_jeu_8c_source.html#l00138">sdlInit()</a>, et <a class="el" href="_sdl_jeu_8c_source.html#l00153">sdljeuBoucle()</a>.</p>

<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_sdl_jeu_8h_a92ebd83590fab5f62f26f371b60e1b14_cgraph.png" border="0" usemap="#_sdl_jeu_8h_a92ebd83590fab5f62f26f371b60e1b14_cgraph" alt=""/></div>
<map name="_sdl_jeu_8h_a92ebd83590fab5f62f26f371b60e1b14_cgraph" id="_sdl_jeu_8h_a92ebd83590fab5f62f26f371b60e1b14_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a907831170dedec3a0af4e4b1e178b854"></a><!-- doxytag: member="SdlJeu.h::updateEvents" ref="a907831170dedec3a0af4e4b1e178b854" args="(Input *in)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_sdl_jeu_8h.html#a907831170dedec3a0af4e4b1e178b854">updateEvents</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_input.html">Input</a> *&#160;</td>
          <td class="paramname"><em>in</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><b> Brief Description </b> Analyse l'état des events. <br/>
 </p>
<p><b> Description </b> Met l si la touche est enfoncée et 0 sinon,tant qu'il y a un event. <br/>
 </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname"><a class="el" href="struct_input.html">Input</a></td><td>Pointeur sur in. <br/>
 </td></tr>
  </table>
  </dd>
</dl>

<p>Définition à la ligne <a class="el" href="_sdl_jeu_8c_source.html#l00111">111</a> du fichier <a class="el" href="_sdl_jeu_8c_source.html">SdlJeu.c</a>.</p>

<p>Référencé par <a class="el" href="_sdl_jeu_8c_source.html#l00153">sdljeuBoucle()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_sdl_jeu_8h.html">SdlJeu.h</a>      </li>

    <li class="footer">Généré le Lundi Décembre 17 2012 01:09:41 pour Projet Jetpack par
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
